package io.itit.ecp.admin.provide.action.resp;

import io.itit.grass.common.provide.action.resp.BaseResp;
import io.itit.grass.dict.starter.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.util.Date;


/**
 * <p>
 *
 * @Author：Roy
 * @Description：预警推送响应结果
 * @Date：Create by 2023-12-15 10:51:22
 */
@Data
@ToString
@ApiModel("预警推送响应结果")
public class EarlyWarningPushResp extends BaseResp {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("预警Id")
    private String earlyWarningId;

    @ApiModelProperty("预警记录Id")
    private String earlyWarningRecordId;

    @ApiModelProperty("用户Id")
    private String userId;

    @ApiModelProperty("用户名称")
    private String userName;

    @ApiModelProperty("状态(1:未读,2:已读) >> distCode：ecp-admin.earlyWarningPush.status")
    @Dict(dictCode = "ecp-admin.earlyWarningPush.status")
    private String status;

    @ApiModelProperty("已读时间")
    private Date readTime;

    @ApiModelProperty("机构Id")
    private String deptId;

}
